#!/bin/sh 

opkg update
opkg install php5 php5-cgi  php5-mod-hash php5-mod-json zoneinfo-core zoneinfo-asia
uci add_list uhttpd.main.interpreter='.php=/usr/bin/php-cgi'
uci commit uhttpd
/etc/init.d/uhttpd restart

wget http://d.wrtnode.com/WikiDownload/http/test.tar -O /www/wrtconsole.php